import request from '@/utils/request'

// 查询order列表
export function barlist(query) {
  return request({
    url: '/barlist',
    method: 'get',
    params: query
  })
}

// 查询ordertrend列表
export function ordertrend(query) {
  return request({
    url: '/ordertrend',
    method: 'get',
    params: query
  })
}

//根据时间获取订单总量、交货量、完成率
export function orderStatisticsBytime(query) {
  return request({
    url: '/orderStatisticsBytime',
    method: 'get',
    params: query
  })
}



